package org.example.dao;

import org.apache.ibatis.annotations.Param;
import org.example.domain.student;

import java.util.List;

public interface studentdao {
    student selectStudentId(Integer id);

    void insertStudent(student s);

    List<student> selectList(@Param(value = "myname") String name,//value可省略
                             @Param(value = "myage")int age);

    List<student> selectOBJ(student s);
    List<student> SelectStudents();

}
